#ifndef PLAYER_H
#define PLAYER_H

#include <QtGui>
#include "MovingObject.h"


class Player : public MovingObject
{

public:

    bool moveLeft;
    bool moveRight;
    bool moveUp;
    bool moveDown;
    bool shoot;
    int deathsNr;
    int fragsNr;
    int leftAmmo;
    QString nick;
    int type;

    Player(QGraphicsItem *parent, const QPointF& start_pos, int _type);
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    ~Player();

private:
    QImage* img;


};


#endif
